package com.qianfeng.openapi.web.master.feign;

import com.qianfeng.openapi.web.master.utils.R;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Map;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/12/31
 * @Time: 上午9:19
 */
public class CacheServiceClientFallback implements  CacheServiceClient {

    Logger logger = LoggerFactory.getLogger(CacheServiceClientFallback.class);


    @Override
    public void set(String key, String value) {
        logger.info("调用失败:"+key+"--"+value);
    }

    @Override
    public String get(String key) {
        return null;
    }

    @Override
    public boolean delKey(String key) {
        return false;
    }

    @Override
    public Map hgetall(String key) {
        return null;
    }

    @Override
    public R hmset(String key, Map<String, Object> map) {
        return null;
    }

    @Override
    public long getAutoIncreId(String key) {
        return 0;
    }
}
